package com.ngkj.zmfptback.sys.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 菜单
 */

public class MenuEntity {

  private Long id;
  private Long parentId;
  private String menuName;
  private String menuUrl;
  private String type;
  private String icon;
  private Long orderNum;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }

  public String getMenuName() {
    return menuName;
  }

  public void setMenuName(String menuName) {
    this.menuName = menuName;
  }

  public String getMenuUrl() {
    return menuUrl;
  }

  public void setMenuUrl(String menuUrl) {
    this.menuUrl = menuUrl;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

  public Long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(Long orderNum) {
    this.orderNum = orderNum;
  }

  public MenuEntity(Long id, Long parentId, String menuName, String menuUrl, String type, String icon, Long orderNum) {
    this.id = id;
    this.parentId = parentId;
    this.menuName = menuName;
    this.menuUrl = menuUrl;
    this.type = type;
    this.icon = icon;
    this.orderNum = orderNum;
  }


  public MenuEntity() {
  }

  @Override
  public String toString() {
    return "MenuEntity{" +
            "id=" + id +
            ", parentId=" + parentId +
            ", menuName='" + menuName + '\'' +
            ", menuUrl='" + menuUrl + '\'' +
            ", type='" + type + '\'' +
            ", icon='" + icon + '\'' +
            ", orderNum=" + orderNum +
            '}';
  }
}


